package com.rzjm.exercise.module.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 传感设备表
 *
 * @author mr.zhou
 * @email zhouwei_ncie@163.com
 * @date 2020-12-15 22:36:23
 */
@Data
@TableName("ck_reg_fire_check")
public class RegFireCheck implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer regWxUserId;
	private Integer regAdminId;
	private Integer shopId;
	private String userName;
	private String userPhone;
	private String regReason;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	private String deviceNum;
	private Integer deviceId;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date endTime;
	private Integer checkAdminId;
	private Integer checkWxUserId;
	private Integer checkState;
	private String checkResult;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date checkTime;

	@TableField(exist = false)
	private String shopName;

	@TableField(exist = false)
	private String deviceName;

	@TableField(exist = false)
	private Integer onlineState;
}
